!{include file='common/iheader.htm'}
<div id="i_nav">
	<h3 class="page_title">角色管理 </h3>
	<a class="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" href="/admin.php?app=user">
		<span class="ui-icon ui-icon-document"></span>用户管理
	</a>
	<a class="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" href="/admin.php?app=user&act=role_edit">
		<span class="ui-icon ui-icon-document"></span>添加角色
	</a>
</div>
<table class="list_table">
	<tr>
		<th>角色名称</th><th>描述</th><th>操作</th>
	</tr>
	!{foreach from=$roles item=role}
	<tr>
		<td>!{$role.name}</td>
		<td>!{$role.desc}</td>
		<td>
			<a href="/admin.php?app=user&act=role_edit&id=!{$role._id}">修改</a>
		</td>
	</tr>
	!{foreachelse}
	<tr><td colspan="3">没有记录</td></tr>
	!{/foreach}
</table>
<script language="javascript">
</script>
!{include file='common/ifooter.htm'}